package com.seedwill.common.query.schema;


/**
 * 
 * 条件容器
 * 
 * @author kdyi
 *
 */
public class QueryCriteriaContainer extends QueryCriteriaContainerSchema {
	
	public static final String MAIN = "_MAIN_"; //$NON-NLS-1$
	
	private QueryCriteriaGroup mainGroup;
	
	public QueryCriteriaContainer() {
		super();
		init();
	}

	private void init(){
		if(null == mainGroup){
			mainGroup = new QueryCriteriaGroup(MAIN);
		}
	}

	public QueryCriteriaGroup getMainGroup() {
		return mainGroup;
	}

	public void setMainGroup(QueryCriteriaGroup mainGroup) {
		this.mainGroup = mainGroup;
	}
}
